package com.skywolf.chem.match.service.impl;

import com.skywolf.chem.match.entity.Sponsor;
import com.skywolf.chem.match.mapper.SponsorMapper;
import com.skywolf.chem.match.service.ISponsorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 赛事主办方 服务实现类
 * </p>
 *
 * @author 
 * @since 2021-09-24
 */
@Service
public class SponsorServiceImpl extends ServiceImpl<SponsorMapper, Sponsor> implements ISponsorService {

    @Autowired
    SponsorMapper sponsorMapper;

    @Override
    public int delSponsorByMatchId(Long matchId) {
        return sponsorMapper.delSponsorByMatchId(matchId);
    }
}
